Skip to main content

what is xamp(local host)?

local host/local hosting

1.xamp

 It's an Open Source web server with all the tools and language support built-in to it. It's ready to use and makes it easier for developers to take their code and host it locally and test the same. XAMPP is a local web server which helps you to make the web application at your system and run at the browser at local environment at your local machine.

In your local machine you would need to use specially Apache server and MySQL That will be enough to make a web application and test it on your local server, and later you can shift this code to the live server. XAMPP stands for Cross-Platform (X), Apache (A), MariaDB (M), PHP (P) and Perl (P). It is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing purposes. Everything needed to set up a web server – server application (Apache), database (MariaDB), and scripting language (PHP) – is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows.

The XAMPP lite package contains an application called Localhost/Server/Xampp which allows developers to administer and maintain MySQL databases. For the remainder of this article we will be using phpMyAdmin to create a database and table, and enter test data used in address book program. In order to start phpMyAdmin, you must first copy the phpMyAdmin folder from the xampplite directory and place it into the xampplite\htdocs directory. Before testing phpMyAdmin, make sure that both Apache and MySQL are running by opening their respective batch files: apache _start.bat and mysql_start.bat. Along with Apache and MySQL running in the background, type http://localhost/ phpMyAdmin/ into your internet browser. If successful, you will be presented with a phpMyAdmin start page similar to the one in figure

This is how xamp looks like
xamp


    2.creating local host/server

XAMPP is a simple, lightweight Apache distribution that makes it extremely easy for developers to create a local web server for testing and development purposes. It is a free and open source cross-platform web server solution stack package developed by Apache HTTP Server, MariaDB database, and interpreters for scripts written in the PHP and Perl programming languages. XAMPP stands for Cross-Platform(X), Apache(A), MariaDB(M), PHP(P) and Perl(P). Everything needed to set up a web server-server application(apache), database(MariaDB), and scripting language(PHP)- is included in an extractable file. XAMPP is also cross-platform, which means it works equally well on Linux, Mac and Windows. Since most actual web server deployments use the same components as XAMPP, it makes transitioning from a local test server to a live server extremely easy as well. USB Webserver is a combination of the popular webserver software: Apache MySQL, Php and phpMyAdmin. With USBWebserver it is possible to develop and show your Php websites, everywhere and anytime. The advantage of USB Web server is you can use it from USB of even CD USBWebserver is perfect for:

  •       Show an offline version of your website.
  •        Anywhere and anytime develop PHP websites.
  •        No need for expensive hosting.
  •        Working at multiple location at projects.
  • ·       A good test before putting your website online.

local host/server

1.2 HTML

HTML stands for Hypertext Markup language, and it is the most widely used language to Write Web Pages. Hypertext refers to the way in which Web pages (HTML documents) are linked together. Thus the link available on a webpage is called Hypertext.

As it name suggests, HTML is a Markup language which means you use HTML to simply “mark-up” a text document with tags that tell a web browser how to structure it to display. Originally, HTML was developed with the intent of defining the structure of documents like headings, paragraphs, lists, and so forth to facilitate the sharing of scientific information between researchers, Now HTML is being widely used to format web pages with the help of different tags available in the HTML language.

  <html>

<head>

<title>Login</title>

</head>

<body bgcolour = ”#99FFFF”>

<h1 align = ”center”>EXAMPLE</h1>

<h2 align =”center”>EXAMPLE </h2>

<h1>Login</h1>

<form name=”login form” method=”get”>

<level>username<br/></level>

<input name =”username” type =”text”/><br/>

<level><password<br/></level>

<input name=”password” type =”password “maxlength =”8”></br>

<input type=”submit” value=”Login”>

</form>

<a href=”registration.php”>Register</a>

</body>

</html>

1.3 PHP

PHP (recursive acronym for PHP: Hypertext Preprocessor) is a widely-used open source general-purpose scripting language that is especially suited for web development and can be embedded into HTML. PHP provides built-in database connectivity for a wide range of databases

-MySQL, PostgreSQL, Oracle, Berkeley DB, Informix, MySQL, Lotus Notes, and more

- Starting support for a specific database may involve PHP configuration steps.

Another advantages of using a programming language has designed for the creation of web application.

1.3.1 CONNECTING TO MYSQL


technepal26.blogspot.com- Frequently Asked Questions(FAQ)

Comments

Popular posts from this blog

Earn Money free

 Earning money for free typically involves taking advantage of opportunities or resources that require little to no financial investment on your part. While there are legitimate ways to make money for free, it's important to be cautious of potential scams or unethical practices. Here are some legitimate ways you might consider: 1. **Online Surveys and Market Research:** Participating in online surveys, market research, or consumer feedback programs offered by reputable companies can earn you a small amount of money or gift cards. 2. **Freelancing and Gig Work:** If you have skills like writing, graphic design, programming, or data entry, you can offer your services on freelancing platforms and earn money from clients who hire you for various tasks. 3. **Content Creation:** Start a blog, YouTube channel, or podcast on a topic you're passionate about. Over time, you can potentially earn money through advertising, sponsorships, and affiliate marketing. 4. **Online Tutoring or Teac...

Why Does My Computer Freeze or Become Unresponsive? Common Causes and Fixes

Why Does My Computer Freeze? (And How to Fix It!) ❄️💻 We’ve all been there: your computer suddenly freezes and becomes completely unresponsive . Whether you’re in the middle of a big project or watching your favorite show, when the screen locks up, frustration sets in . But don’t worry— freezing issues are common and can often be fixed with a few simple solutions. In this post, we’ll walk you through why your computer freezes and provide easy, actionable fixes to get it running smoothly again. Let’s dive in! 🛑 Why Does My Computer Freeze or Become Unresponsive? There are several reasons why your computer might freeze, from hardware issues to software glitches . Let’s take a look at the most common culprits: ✅ Too many programs running at once – Your computer is like a multitasker, but there’s a limit to how much it can handle. ✅ Lack of available memory (RAM) – Running out of RAM means your computer has less space to handle tasks. ✅ Outdated or corrupt drivers – Old or b...

The Ultimate Beginner’s Guide to AI-Powered Blogging for Nepali Students (2025)

The Ultimate Beginner’s Guide to AI-Powered Blogging for Nepali Students (2025) Artificial Intelligence (AI) is transforming blogging, making it easier to create content, optimize SEO, and drive traffic. Whether you're a student in Nepal looking to start a side hustle, earn passive income, or improve your writing skills, AI can help you write efficiently, rank better, and grow your audience . This guide explores how Nepali students can start AI-powered blogging in 2025 and the best tools to use. Why Should Nepali Students Use AI for Blogging? AI-driven blogging tools can: Generate content ideas based on trending topics in Nepal and globally. Write articles quickly with AI writing assistants. Optimize SEO using AI-driven keyword research to rank in Nepal and beyond. Improve engagement with AI-enhanced editing and analytics. Automate social media posts for better reach and audience building. Step 1: Choosing an AI Writing Assistant The first step in AI-powered blogging is selecting ...